#ifndef BASKET_H
#define BASKET_H

#include <QList>
#include <QString>
#include <QStringList>
#include <QPair>
#include <QFile>
#include <QTextStream>

#include <QDebug>

#include "session.h"

class Basket
{
public:
    Basket();

    void addPage(QString page);
    void addSession(Session *session);
    void addSessionClustering(Session *session);

    QStringList getPages();
    QList<QPair<Session*, QList<bool>* > > *getRows();

    void saveBasketAsArff(QString filename);
    void saveBasketForSessionsClusteringAsArff(QString filename);

    void debug();

private:
    QStringList pages;

    QList<QPair<Session*, QList<bool>* > > *rows;
    QList<QPait<Session*, QStringList*> > *sessionRows;
};

#endif // BASKET_H
